import { createApp } from 'vue';
import App from './App.vue'

// 路由
import router, { setupRouter } from './router'

// 创建实例
const setupAll = async () => {
    const app = createApp(App)
  
    setupRouter(app)
  
    await router.isReady()
  
    app.mount('#app')
  }

setupAll()
